//
//  UIViewBase.h
//  HelloWorld
//
//  Created by Mac Book-1 on 10-7-2.
//  Copyright 2010 __MyCompanyName__. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UIControlBase.h"

@interface UIViewBase : CUIControlBase {
	int interval;//两子视图的间隔,style = 0 为左右间隔,style = 1 为上下间隔
}


@property(nonatomic) int interval;

- (void)addSubview:(UIView *)view;
- (void)insertSubview:(UIView *)view belowSubview:(UIView *)siblingSubview;
- (void)insertSubview:(UIView *)view aboveSubview:(UIView *)siblingSubview;
- (void)layoutSubviews;

- (void)adjustFrame:(UIView *)view;

@end
